n = int(input())
res = ['','a','b','c','d','e']
s,k = 0,5

while s+k <n:
    s += k
    k *= 2

n -= s

len = k / 5
t = (n+len-1) / len

print(res[int(t)])

